package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "comment_img")
public class CommentImg extends TendBaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2385951351973043815L;

	/**
	 * comment关联表id
	 */
	private Long commentid;
	
	/**
	 * commentdetail关联表id，多评论可上传图片备用
	 */
	private Long commentdetailid;
	
	/**
	 * 类型 0：图片 1：视频
	 */
	private int type;
	
	/**
	 * 图片顺序
	 */
	private int imgsort; 
	
	/**
	 * 图片或视频地址链接
	 */
	private String url;

	public Long getCommentid() {
		return commentid;
	}

	public void setCommentid(Long commentid) {
		this.commentid = commentid;
	}

	public Long getCommentdetailid() {
		return commentdetailid;
	}

	public void setCommentdetailid(Long commentdetailid) {
		this.commentdetailid = commentdetailid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getImgsort() {
		return imgsort;
	}

	public void setImgsort(int imgsort) {
		this.imgsort = imgsort;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	
	
	
}
